# -*- coding:utf-8 -*-
# 列表生成式
lists = [ i*2 for i in range(10)]
print(lists) # [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]